package ZuChe;

public abstract class CarPet {
	private String chepai, pinpai;
	double rizujin;
	private boolean b = true;

	public CarPet() {
	}

	public CarPet(String chepai, String pinpai, double rizujin) {
		this.chepai = chepai;
		this.pinpai = pinpai;
		this.rizujin = rizujin;
	}

	public boolean isB() {
		return b;
	}

	public void setB(boolean b) {
		this.b = b;
	}

	public String getChepai() {
		return chepai;
	}

	public void setChepai(String chepai) {
		this.chepai = chepai;
	}

	public String getPinpai() {
		return pinpai;
	}

	public void setPinpai(String pinpai) {
		this.pinpai = pinpai;
	}

	public double getRizujin() {
		return rizujin;
	}

	public double setRizujin() {
		return this.rizujin = rizujin;
	}

	public abstract double zujin(int days);
}
